David Parry, of Southborough, is charged with two counts of dissemination of matter harmful to minors, Southborough police said on Wednesday.
The minors told police that Parry came up to them a little after 7:30 p.m. and tried to start a conversation, police said. Then, he took out his phone and showed them pornographic photos and videos, authorities said.
The kids left the restaurant and told an adult, who contacted the police.
Click here to follow Daily Voice Worcester and receive free news updates.